<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/layouts/base.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>创建管理员</title>
<link rel="stylesheet" href="${ctxsta}/admin/main/css/style.css" />
<link rel="stylesheet" href="${ctxsta}/common/icheck/flat/green.css" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="row">
  <form id="form" class="form-horizontal">
  	<input type="hidden" name = "orderId" value="${order.orderId}">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>订单信息<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
          
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">订单编号:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="name" value="${order.orderNumber}">
              </div>
              <label class="col-sm-2 control-label">支付方式：</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="showPrice" value="${order.payType}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">配送时间:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${order.shipmentTime}">
              </div>
              <label class="col-sm-2 control-label">配送方式:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${order.shipmentType}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">快递费:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="picImg" value="${order.shipmentAmount}">
              </div>
              <label class="col-sm-2 control-label">商品总数量:</label>
              <div class="col-sm-4">
                <input type="text" class="form-control" name="pageKeyword" value="${order.buyNumber}">
              </div>
            </div>
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">发票类型:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${order.invoiceType}">
              </div>
              <label class="col-sm-2 control-label">发票抬头:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${order.invoiceTitle}">
              </div>
            </div>
            
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">订单状态:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${order.orderStatus}">
              </div>
              <label class="col-sm-2 control-label">创建时间:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${order.createTime}">
              </div>
            </div>
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">更新时间:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${order.updateTime}">
              </div>
              <label class="col-sm-2 control-label">订单金额:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${order.orderAmount}">
              </div>
            </div>
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">订单积分:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${order.orderScore}">
              </div>
              <label class="col-sm-2 control-label">支付金额:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${order.payAmount}">
              </div>
            </div>
            
        </div>
      </div>
    </div>
    
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>商品描述<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
        <c:forEach var="product"   items="${orderProductList}">
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">商品编号:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${product.productNumber}">
              </div>
              <label class="col-sm-2 control-label">商品名称:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${product.name}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">展示图片:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${product.picImg}">
              </div>
              <label class="col-sm-2 control-label">商品规格编号:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${product.productSpecNumber}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">商品规格名称:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${product.productSpecName}">
              </div>
              <label class="col-sm-2 control-label">价格:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${product.price}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">积分:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${product.score}">
              </div>
              <label class="col-sm-2 control-label">商品总数量:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${product.buyNumber}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">商品总积分:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${product.productScore}">
              </div>
              <label class="col-sm-2 control-label">商品总金额:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${product.productAmount}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">评论状态:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${product.commentStatus}">
              </div>
            </div>
        </c:forEach>
        </div>
      </div>
    </div>
    
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>邮寄地址<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
        
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">收件人姓名:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${orderShipment.userName}">
              </div>
              <label class="col-sm-2 control-label">手机号码:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${orderShipment.userPhone}">
              </div>
            </div>
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">省份:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${orderShipment.provinceName}">
              </div>
              <label class="col-sm-2 control-label">城市:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${orderShipment.cityName}">
              </div>
            </div>
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">区域:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${orderShipment.districtName}">
              </div>
              <label class="col-sm-2 control-label">详细地址:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${orderShipment.userAdress}">
              </div>
            </div>
            
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">邮政编码:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${orderShipment.userZipcode}">
              </div>
              <label class="col-sm-2 control-label">更新时间:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${orderShipment.updateTime}">
              </div>
            </div>            
            
        </div>
      </div>
    </div>
    
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>订单状态<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
        <c:forEach var="orderStatus"   items="${orderStatusList}">
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">订单状态:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${orderStatus.orderStatus}">
              </div>
              <label class="col-sm-2 control-label">创建时间:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${orderStatus.createTime}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">创建者:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${orderStatus.createBy}">
              </div>
              <label class="col-sm-2 control-label">操作类型:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${orderStatus.createStatus}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">备注:</label>
              <div class="col-sm-10">
                <textarea class="form-control" rows="2" name="remarks" placeholder="请输入消息..." style="margin: 0px -17.675px 0px 0px; height: 50px; width: 100%;">${orderStatus.remarks}</textarea>
              </div>
            </div>                        
        </c:forEach>
        </div>
      </div>
    </div>
    
    
    </form>
  </div>
</div>
<myfooter> 
  <!-- iCheck --> 
  <script src="${ctxsta}/common/icheck/icheck.min.js"></script> 
  <!-- bootstrapvalidator-master前端验证框架 --> 
  <script src="${ctxsta}/common/bootstrapvalidator-master/js/bootstrapValidator.min.js"></script> 
  <!-- 自定义js --> 
  <script src="${ctxsta}/goods/main/js/goods_list_set_product.js"></script> 
</myfooter>
</body>
</html>
